$(function(){
    $('#slides').slides({
        preload: false,
//        preloadImage: '/images/loader.gif',
        play: 3000,
        effect: 'fade',
        fadeEasing: 'easeInCirc',
//        effect: 'slide',
//        slideEasing: 'easeInCirc',
        pause: 2500,
        hoverPause: true,
        fadeSpeed: 1350,
        slideSpeed: 750,
        animationStart: function(){
            $('.caption').animate({
                bottom:-35
            },100);
},
animationComplete: function(current){
    $('.caption').animate({
        bottom:0
    },200);
if (window.console && console.log) {
    // example return of current slide number
//    console.log(current);
    };
}
});
});